package com.smart.platform.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TextRespond {
    private Long id;

    private String userId;

    private String name;

    private Integer classes;

    //年级
    private Integer grade;

    //考次
    private Integer state;

    //科目
    private Integer course;

    //题目
    private Integer number;

    //分值
    private Integer mark;

    //问题url
    private String questionImage;

    //问题信息
    private String question;

    //作答url
    private String respondImage;

    //作答信息
    private String answer;

    //文心评阅
    private String comment;

    //分数
    private Integer score;

    //批阅状态
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    //创建时插入字段
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUser;
}
